<!DOCTYPE html>
<html>
    <!--下载并运行AR.js-->
  <script src="static/js/aframe.min.js"></script>
  <!-- we import arjs version without NFT but with marker + location based support -->
  <script src="static/js/aframe-ar.js"></script>
  <body style="margin : 0px; overflow: hidden;">
    <!--a-scene会创建一个AR环境-->
    <a-scene embedded arjs>
        <!--a-marker是在相机中想要识别模型的标记-->
        <a-marker preset="hiro">
            <a-entity
            position="0 0.5 0"
            scale="1.5 1.5 1.5"
            rotation="-160 0 0"
            gltf-model="static/gltf/naruto/scene.gltf"
            ></a-entity>
        </a-marker>
      <a-entity camera></a-entity>
    </a-scene>
  </body>
</html>